
const isEmptyObj = function(obj) {
    if (typeof obj === null) return
    return Object.keys(obj).length === 0 &&
        Object.getOwnPropertyNames(obj).length == 0
}
export default {
    isEmptyObj
}